package com.eastfair.auth.service;

import com.eastfair.auth.dto.OrganizationDTO;
import com.eastfair.auth.entity.Organization;
import com.eastfair.core.base.R;

/**
 * <p>
 * 会展主办操作业务接口
 *
 * </p>
 *
 * @author ligang
 * @date 2021-07-16
 */
public interface SponsorUserOrganizationService  {

    /**
     *  创建项目下的主办分类
     * @param orgId 项目组织id
     * @return
     */
    R<Organization> createSponsorClassifyOfProject(Long orgId,Long projectId);

    /**
     *  创建主办组
     * @param orgId 项目组织id
     * @return
     */
    R<Organization> createSponsorClassify(Long orgId,Long projectId);

    /**
     * 添加主办到项目（项目组织）
     * @param projectId 项目id
     * @param sponsorId 主办id
     * @return
     */
    R<Organization> addSponsorOfProjectClassify(Long projectId,Long sponsorId);

    /**
     * 添加主办到项目
     *
     * @param organizationDTO 主办组织
     * @return
     */
    R<Organization> addHostByProject(OrganizationDTO organizationDTO);


}
